package generatorImplementations.misc;


import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

public class TestXeuklid {
	ErweiterterEuklid2 e;	
	
	@Before
	public void setUp() throws Exception {
		 e = new ErweiterterEuklid2();
	}
	
	@Test
	public void testCalculateLength() {
		assertEquals(2, e.calculateLength(35, 5));
		assertEquals(2, e.calculateLength(1, 1));
		assertEquals(3, e.calculateLength(37, 27));
	}

}
